Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Controlling Compressed Source Devices


VDReleaseCompressBuffer

The VDReleaseCompressBuffer function allows an application to free a buffer received from the VDCompressDone function.

pascal VideoDigitizerError VDReleaseCompressBuffer 
                           (VideoDigitizerComponent ci, 
                            Ptr bufferAddr);
ci
Identifies the application's connection to the video digitizer component. An application obtains this value from the Component Manager's OpenComponent function.
bufferAddr
Points to the location of the buffer to be released. This address must correspond to a buffer address that the application obtained from the VDCompressDone function (discussed in the previous section).
DESCRIPTION
Once an application frees the buffer, the video digitizer is able to use the buffer for other images. Applications should try to free these buffers as quickly as possible, so that
the video digitizer can make optimum use of its buffer, and thereby support higher frame rates.

RESULT CODES
noErr0No error
digiUnimpErr-2201Function not supported

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help